﻿using System;

namespace InterfaceWeaver.AopCore
{
    [AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
    public sealed class InheritAttribute: Attribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="InheritAttribute" /> class.
        /// </summary>
        /// <param name="type">The type.</param>
        public InheritAttribute(Type type)
        {
            this.Type = type;
        }

        private Type Type { get; set; }
    }
}
